package com.yizhang.pattern.template;

/**
 * @Author: yi.zhang
 * @CreateTime: 2025-08-29 11:04:44
 * @Description: 咖啡
 */
public class Coffee extends Beverage {
    @Override
    protected void brew() {
        System.out.println("冲泡咖啡");
    }

    @Override
    protected void addCondiments() {
        System.out.println("加入方糖");
    }

    @Override
    protected boolean customerWantsCondiments() {
        return super.customerWantsCondiments();
    }
}
